//
//  CircleImage.swift
//  Landmarks
//
//  Created by 北京 on 2021/1/18.
//

import SwiftUI

struct CircleImage: View {
    var image:Image
    
    var body: some View {
        image
            .clipShape(Circle())
            .overlay(Circle().stroke(Color.gray,lineWidth: 10))
            .shadow(radius: 7 )
    }
}

struct CircleImage_Previews: PreviewProvider {
    static var previews: some View {
        CircleImage(image:Image("Imagetest"))
    }
}

